<form id='addForm' name='addForm' class="form grid_6" method="POST" style='margin-top:20px;width:100%'>
	<fieldset>
		<legend style='cursor: pointer;'> Thêm quyền </legend>
			<label> Tên quyền <em>*</em></label>
			<input type="text" id='name' name="name" required="required" value='<?= $this->list['name'] ?>'>
			<br/>
			
			<label> Đường dẫn <em>*</em></label>
			<input type="text" id='url' name="url" required="required" value='<?= $this->list['url'] ?>'>
		
			<label> Loại quyền </label>
			<?php 
			$type_arr = array(1=>"Xem",2=>"Thêm",3=>"Sửa",4=>"Xóa");
			echo $this->formSelect("type",$this->list['type'],null,$type_arr);
			?>
	
		<div class="action" style='margin-left:195px'>
			<input type='hidden' name='per_id' id='per_id' value="<?php echo $this->per_id ?>">
			<input type='hidden' name='do' id='do' value='edit'>
			<button class="btn btn_red" type="submit" ><span class="accept"></span>Sửa</button>
			<button type="reset" class="btn">Làm lại</button>
			<button class="btn" type="button" onclick="do_cancel()">Thoát</button>
		</div>
	</fieldset>
</form>
